package gr.handmademarket.ui.panels;

import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;

import urn.ebay.apis.eBLBaseComponents.AddressType;

/**
 * the panel of the product.
 */
public class AddressPanel 
extends Panel{

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * the street label.
	 */
	@SuppressWarnings("nls")
	private Label streetLabel = new Label("street1");
	
	/**
	 * the city label.
	 */
	@SuppressWarnings("nls")
	private Label cityLabel = new Label("cityName");
	
	/**
	 * the state label.
	 */
	@SuppressWarnings("nls")
	private Label stateLabel = new Label("stateOrProvince");
	
	/**
	 * the country label.
	 */
	@SuppressWarnings("nls")
	private Label countryLabel = new Label("countryName");
	
	/**
	 * the postal code label.
	 */
	@SuppressWarnings("nls")
	private Label postalCodeLabel = new Label("postalCode");
	
	/**
	 * Creates a new ProductPanel object. 
	 *
	 * @param id
	 * @param model
	 * @param title
	 */
	@SuppressWarnings("nls")
	public AddressPanel(String id, IModel<AddressType> model, String title) {
		super(id, model);
		add(streetLabel,cityLabel,stateLabel,postalCodeLabel,countryLabel);
		add(new Label("title",new Model<String>(title)));
	}
	

}
